Optimal. Leaf size=474 \[ -\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} F\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{2 \sqrt [4]{3} b^{2/3} \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a x+b x^4}}-\frac{\sqrt [4]{3} \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} E\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{b^{2/3} \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a x+b x^4}}+\frac{\left (1+\sqrt{3}\right ) x \left (a+b x^3\right )}{b^{2/3} \left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right ) \sqrt{a x+b x^4}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.783605, antiderivative size = 474, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.294 \[ -\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} F\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{2 \sqrt [4]{3} b^{2/3} \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a x+b x^4}}-\frac{\sqrt [4]{3} \sqrt [3]{a} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} E\left (\cos ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}{\left (1+\sqrt{3}\right ) \sqrt [3]{b} x+\sqrt [3]{a}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{b^{2/3} \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right )^2}} \sqrt{a x+b x^4}}+\frac{\left (1+\sqrt{3}\right ) x \left (a+b x^3\right )}{b^{2/3} \left (\sqrt [3]{a}+\left (1+\sqrt{3}\right ) \sqrt [3]{b} x\right ) \sqrt{a x+b x^4}} \]
Antiderivative was successfully verified.
[In] Int[x^2/Sqrt[a*x + b*x^4],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 45.2792, size = 423, normalized size = 0.89 \[ - \frac{\sqrt [4]{3} \sqrt [3]{a} \sqrt{\frac{a^{\frac{2}{3}} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} x^{2}}{\left (\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )\right )^{2}}} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right ) \sqrt{a x + b x^{4}} E\left (\operatorname{acos}{\left (\frac{\sqrt [3]{a} + \sqrt [3]{b} x \left (- \sqrt{3} + 1\right )}{\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )} \right )}\middle | \frac{\sqrt{3}}{4} + \frac{1}{2}\right )}{b^{\frac{2}{3}} \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a} + \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )\right )^{2}}} \left (a + b x^{3}\right )} - \frac{3^{\frac{3}{4}} \sqrt [3]{a} \sqrt{\frac{a^{\frac{2}{3}} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} x^{2}}{\left (\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )\right )^{2}}} \left (- \sqrt{3} + 1\right ) \left (\sqrt [3]{a} + \sqrt [3]{b} x\right ) \sqrt{a x + b x^{4}} F\left (\operatorname{acos}{\left (\frac{\sqrt [3]{a} + \sqrt [3]{b} x \left (- \sqrt{3} + 1\right )}{\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )} \right )}\middle | \frac{\sqrt{3}}{4} + \frac{1}{2}\right )}{6 b^{\frac{2}{3}} \sqrt{\frac{\sqrt [3]{b} x \left (\sqrt [3]{a} + \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )\right )^{2}}} \left (a + b x^{3}\right )} + \frac{\left (1 + \sqrt{3}\right ) \sqrt{a x + b x^{4}}}{b^{\frac{2}{3}} \left (\sqrt [3]{a} + \sqrt [3]{b} x \left (1 + \sqrt{3}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/(b*x**4+a*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 1.33352, size = 333, normalized size = 0.7 \[ \frac{x \left (\frac{a^{2/3}}{b^{2/3}}-\frac{\sqrt [3]{a} x}{\sqrt [3]{b}}+x^2\right )+\frac{(-1)^{2/3} \sqrt [3]{a} \sqrt{\frac{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{b} x \left (\sqrt [3]{a}-\sqrt [3]{-1} \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{\frac{\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\sqrt [3]{a}+\sqrt [3]{b} x}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2 \left (\left (1+i \sqrt{3}\right ) F\left (\sin ^{-1}\left (\frac{\sqrt{\frac{\left (3+i \sqrt{3}\right ) \sqrt [3]{b} x}{\sqrt [3]{b} x+\sqrt [3]{a}}}}{\sqrt{2}}\right )|\frac{-i+\sqrt{3}}{i+\sqrt{3}}\right )+\left (-3-i \sqrt{3}\right ) E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{\left (3+i \sqrt{3}\right ) \sqrt [3]{b} x}{\sqrt [3]{b} x+\sqrt [3]{a}}}}{\sqrt{2}}\right )|\frac{-i+\sqrt{3}}{i+\sqrt{3}}\right )\right )}{2 \left ((-1)^{2/3}-1\right ) b}}{\sqrt{x \left (a+b x^3\right )}} \]
Warning: Unable to verify antiderivative.
[In] Integrate[x^2/Sqrt[a*x + b*x^4],x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.027, size = 1054, normalized size = 2.2 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/(b*x^4+a*x)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{b x^{4} + a x}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/sqrt(b*x^4 + a*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{x^{2}}{\sqrt{b x^{4} + a x}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/sqrt(b*x^4 + a*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{x \left (a + b x^{3}\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/(b*x**4+a*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{b x^{4} + a x}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/sqrt(b*x^4 + a*x),x, algorithm="giac")
[Out]